import { createPinia } from 'pinia'
// 持久化
import {  createPersistedState } from 'pinia-plugin-persistedstate'
const store = createPinia()
store.use(createPersistedState({
    auto: true,
    storage: window.localStorage
}))
//导出
export default store
